package map;

import networkedmodules.Module;
import networkedmodules.ModuleGroup;
import networkedmodules.Update;

public class NewMapUserUpdate extends Update
{
    private static final long serialVersionUID = 1L;
    public NewMapUserUpdate(String key)
    {
        setKey(key);
    }
    
    public void performUpdate(Module module)
    {
        if(module.getModuleGroup().getType() == ModuleGroup.HOST)
        {
            MapModule m = (MapModule)module;
            m.fullMapUpdate();
        }
    }
}
